<!-- 修改密码 -->
<template>
  <div class="showPass">
    <h3 class="title"><span class="back" @click="back"></span>修改密码</h3>
    <div class="change_Pass">
      <ul>
        <li>
          <b>原密码</b>
          <input type="text" placeholder="请输入原密码" />
          <p />
        </li>
        <li>
          <b>新密码</b>
          <input type="text" placeholder="请输入新密码" />
          <p />
        </li>
        <li>
          <b>确认新密码</b>
          <input type="text" placeholder="请再次确认新密码" />
          <p />
        </li>
      </ul>

      <button class="save_changePass">保存</button>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {};
  },
  computed: {},
  methods: {
    back() {
      this.$router.go(-1);
    }
  },
  mounted() {
    let _this = this;
    window["dsBridge"].register("GoBack", function() {
      _this.$router.go(-1);
    });
    window["dsBridge"].register("whetherHtml", function(ret) {
      console.log("=======ret:" + ret);
      return true;
    });
  }
};
</script>
<style lang="stylus" scoped>
.change_Pass {
  height: calc(100vh - 2.6rem);
  background: #fff;
  margin-top: 0.2rem;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;

  ul {
    width: 100%;

    li {
      margin-top: 0.4rem;

      b {
        width: 100%;
        color: #333;
        font-size: 0.3rem;
      }

      input {
        width: 100%;
        margin-top: 0.2rem;
        border: 0;
        height: 0.5rem;
        font-size: 0.3rem;
      }

      input::-webkit-input-placeholder {
        font-size: 0.35rem;
      }

      p {
        width: 100%;
        height: 0.01rem;
        background: #dbdbdb;
        margin-top: 0.15rem;
      }
    }
  }
}

.save_changePass {
  position: absolute;
  bottom: 1rem;
  width: 300px;
  background: #428ee3;
  border: 0;
  color: white;
  padding: 0.2rem;
  border-radius: 0.08rem;
}
</style>
